-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow schema reporting via environment variable #4206
Conversation
2d613cf
to
7a7dbdd
Compare
@@ -407,6 +408,13 @@ export class EngineReportingAgent<TContext = any> { | |||
); | |||
} | |||
|
|||
|
|||
if (options.experimental_schemaReporting !== undefined) { | |||
this.schemaReport = options.experimental_schemaReporting; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also add an options.schemaReporting
as well and deprecate the old one, or do you want to do that in another PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather deprecate the field in a different PR. I think it should be in 2.15
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm :) + wanna add the GM- ticket in the desc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think with a CHANGELOG.md
, this is good to go!
65607b3
to
4c41abc
Compare
Allow enabling schema reporting via setting
APOLLO_SCHEMA_REPORTING
to true.